import { BasicLayout,PageView,BlankLayout,RouteView } from '@/layouts/index';
import config from '@/config/index';
/**
 * 路由和页面映射
 */
export default [
    /** 目录容器组件 */
    {
        path: '/',
        component: BasicLayout,
        meta: { title: '首页' }
    },
    /** 普通页面组件 */
    // {
    //     path: '/demo/index',
    //     component: () => import('@/modules/demo/DemoList.vue'),
    //     meta: { title: '常规列表' }
    // },
    {
        path: '/demo/teacherList',
        component: () => import('@/modules/demo/TeacherList.vue'),
        meta: { title: '常规列表' }
    },
    {
        path: '/demo/treeList',
        component: () => import('@/modules/demo/TreeList.vue'),
        meta: { title: '树列表' }
    },
    {
        path: '/404',
        component: () => import(/* webpackChunkName: "fail" */ '@/modules/exception/404'),
        meta: { title: '错误' }
    },
    {
        path: '/login',
        component: () => import('@/modules/home/Logo.vue'),
        meta: { title: '登陆' }
    },
    {
        path: '/home',
        component: () => import('@/modules/home/Home.vue'),
        meta: { title: '首页',icon:'home' }
    }
];

